-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ui/ffi: add timestamp to reaction group senders #2153
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2153 +/- ##
==========================================
+ Coverage 76.78% 76.85% +0.06%
==========================================
Files 169 169
Lines 17822 17852 +30
==========================================
+ Hits 13685 13720 +35
+ Misses 4137 4132 -5
☔ View full report in Codecov by Sentry. |
9f9be2c
to
d8d2b07
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The patch doesn't explain why we need to add a timestamp to reaction. Apart from that, the code looks generally good. Tests for timestamps are missing: yes timestamps are created, but they aren't tested on their own. Can you please add these :-)?
I would also rebase the commit history a little bit if possible.
f71a0a2
to
caafaaa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Ready for merge, but let's wait a bit (until our current release blocker PR is merged).
@jplatte Before merging this, there is an issue around timestamps for reactions. |
# Conflicts: # crates/matrix-sdk-ui/src/timeline/event_handler.rs
b9bc5e8
to
38a60e1
Compare
I think this should be ready to go, the issue came from this code actually, it was because when we create the initial timeline items we put aside reactions that are step upon before the message they relate to and resolve these later. These were not stored with their timestamp in my initial implementation. Fix commit is 1cee900 |
# Conflicts: # crates/matrix-sdk-ui/src/timeline/inner.rs # crates/matrix-sdk-ui/src/timeline/tests/mod.rs
c73be28
to
75cd565
Compare
Expose the timestamp for each sender on a reaction group. Fixes #1792